﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Hxsoft.AppV1.Admin.SystemInit.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>系统初始化</title>
</head>
<body>
    <form id="form1" runat="server">
		<asp:ScriptManager ID="ScriptManager1" runat="server">
			</asp:ScriptManager>
		<div>
			<asp:UpdatePanel ID="UpdatePanel1" runat="server">
				<Triggers>
					<asp:AsyncPostBackTrigger ControlID="BtnInitRoles" EventName="ServerClick" />
					<asp:AsyncPostBackTrigger ControlID="BtnInitUsers" EventName="ServerClick" />
					<asp:AsyncPostBackTrigger ControlID="BtnInitPermissions" EventName="ServerClick" />
					<asp:AsyncPostBackTrigger ControlID="BtnSynchroLinkClassPermissionRegister" EventName="ServerClick" />
					<asp:AsyncPostBackTrigger ControlID="BtnSynchroModulePermissionRegister" EventName="ServerClick" />
					<asp:AsyncPostBackTrigger ControlID="BtnSynchroPageBlockPermissionRegister" EventName="ServerClick" />
					<asp:AsyncPostBackTrigger ControlID="BtnSynchroVoteTypePermissionRegister" EventName="ServerClick" />
				</Triggers>
			</asp:UpdatePanel>
			<input type="submit" id="BtnInitRoles" value="初始化角色" runat="server" class="Button" onclick="return confirm(&quot;是否要初始化角色？&quot;);" onserverclick="BtnInitRoles_ServerClick" />
			<input type="submit" id="BtnInitUsers" value="初始化用户" runat="server" class="Button" onclick="return confirm(&quot;是否要初始化用户？&quot;);" onserverclick="BtnInitUsers_ServerClick" />
			<input type="submit" id="BtnInitPermissions" value="初始化权限" runat="server" class="Button" onclick="return confirm(&quot;是否要初始化权限？&quot;);" onserverclick="BtnInitPermissions_ServerClick" />
			<input type="submit" id="BtnSynchroModulePermissionRegister" value="同步模块权限注册" runat="server" class="Button" onclick="return confirm(&quot;是否要同步权限注册？&quot;);" onserverclick="BtnSynchroModulePermissionRegister_ServerClick" />
			<input type="submit" id="BtnSynchroPageBlockPermissionRegister" value="同步页面块权限注册" runat="server" class="Button" onclick="return confirm(&quot;是否要同步权限注册？&quot;);" onserverclick="BtnSynchroPageBlockPermissionRegister_ServerClick" />
			<input type="submit" id="BtnSynchroLinkClassPermissionRegister" value="同步链接类别权限注册" runat="server" class="Button" onclick="return confirm(&quot;是否要同步权限注册？&quot;);" onserverclick="BtnSynchroLinkClassPermissionRegister_ServerClick" />
			<input type="submit" id="BtnSynchroVoteTypePermissionRegister" value="同步投票类别权限注册" runat="server" class="Button" onclick="return confirm(&quot;是否要同步权限注册？&quot;);" onserverclick="BtnSynchroVoteTypePermissionRegister_ServerClick" />
		</div>
		<Hxctr:MessageBox ID="MessageBox1" runat="server" />
		<Hxctr:UpdateProgress ID="UpdateProgress1" runat="server" />
    </form>
</body>
</html>